-- GENERATED SPELL FOR [Hildana Deathstealer] --


function spell0_32495(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(60991,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32495', 559, 1)
end

function spell1_32495(pUnit, Event) --@Touch of the Val\'kyr,n/a--
pUnit:FullCastSpellOnTarget(57547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32495', 7000, 1)
end

function Sorts_32495(pUnit, Event)
local choix_sorts_32495 = math.random(0, 1)
if choix_sorts_32495 == 0 then
pUnit:RegisterEvent('spell0_32495', 1, 1)
end
if choix_sorts_32495 == 1 then
pUnit:RegisterEvent('spell1_32495', 1, 1)
end
end

function mob32495_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32495', math.random(1500, 3000), 1)
end

function mob32495_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32495_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32495_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32495, 1, 'mob32495_Action')
RegisterUnitEvent(32495, 2, 'mob32495_Leave')
RegisterUnitEvent(32495, 3, 'mob32495_Kill')
RegisterUnitEvent(32495, 4, 'mob32495_Die')
